import 'package:cbec_app/generated/json/base/json_field.dart';
import 'package:cbec_app/generated/json/activity_item_entity.g.dart';
import 'dart:convert';
export 'package:cbec_app/generated/json/activity_item_entity.g.dart';

@JsonSerializable()
class ActivityItemEntity {
  String? marketingId = '';
  int? type = 0;
  int? status = 0;
  int? preNotice = 0;
  String? begindate = '';
  String? enddate = '';
  String? beginDatetime = '';
  String? endDatetime = '';
  String? begintime = '';
  String? endtime = '';
  int? targetType = 0;
  int? activityType = 0;

  ActivityItemEntity();

  factory ActivityItemEntity.fromJson(Map<String, dynamic> json) => $ActivityItemEntityFromJson(json);

  Map<String, dynamic> toJson() => $ActivityItemEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
